package com.tianma315.core.tymenu.service;



import com.alibaba.fastjson.JSONObject;
import com.tianma315.core.common.base.CoreService;
import com.tianma315.core.procedures.domain.ProcedureLinkDO;
import com.tianma315.core.tymenu.domain.TyMenuDO;
import com.tianma315.core.tymenu.domain.TyMenuVO;
import com.tianma315.core.wx.domain.CodeVo;

import java.util.List;

/**
 * 
 * <pre>
 * 溯源档案菜单(环节)
 * </pre>
 * <small> 2020-02-24 10:29:16 | Aron</small>
 */
public interface TyMenuService extends CoreService<TyMenuDO> {
    List<TyMenuVO> getTyMenuByTraceabilityFileId(Integer traceabilityFileId);

    List<TyMenuVO> selectVOById(Integer traceabilityFileId, Integer procedureLinkId);

    boolean addRepeat(TyMenuVO tyMenuVO);

    boolean updateStaById(Integer menuId);

    Integer addTyMenuDo(CodeVo codeVo, Long userId);
}
